package business_opportunity

import (
	"context"
	pb "git.mycaigou.com/gfyx/micro-gfyx-api/proto/micro_gfyx_oppty_service_proto/micro-gfyx-oppty-service/business_opportunity"
)

type OrderRepositoryIface interface {
	SaveOrder(ctx context.Context, request *pb.SaveOrderRequest) (*pb.SaveOrderResponse, error)
	PreviewOrder(ctx context.Context, request *pb.PreviewOrderRequest) (*pb.PreviewOrderResponse, error)
	GetOrderList(ctx context.Context, request *pb.GetOrderListRequest) (*pb.GetOrderListResponse, error)
	GetOrderDetail(ctx context.Context, request *pb.GetOrderDetailRequest) (*pb.GetOrderDetailResponse, error)
}
